package com.zretc.emptraining.entity;

import java.util.Date;

public class Emp {
	private int empNo;
	private String empName;
	private int deptNo;
	private String deptName;
	private String empXl;//学历
	private String empSex;
	private String empID;//身份证
	private Date empTime;
	private String empAddress;
	private String empTel;//联系电话
	private String empEmail;//邮箱
	private String empJob;//职位
	private String empPic;//照片
	public Emp() {}
	public Emp(int empNo, String empName, int deptNo, String empXl, String empSex, String empID, Date empTime,
			String empAddress, String empTel, String empEmail, String empJob,String empPic) {
		super();
		this.empNo = empNo;
		this.empName = empName;
		this.deptNo = deptNo;
		this.empXl = empXl;
		this.empSex = empSex;
		this.empID = empID;
		this.empTime = empTime;
		this.empAddress = empAddress;
		this.empTel = empTel;
		this.empEmail = empEmail;
		this.empJob = empJob;
		this.empPic = empPic;
	}
	
	public Emp(int empNo, String empName, int deptNo, String empXl, String empSex, String empID, 
			String empAddress, String empTel, String empEmail, String empJob,String empPic) {
		super();
		this.empNo = empNo;
		this.empName = empName;
		this.deptNo = deptNo;
		this.empXl = empXl;
		this.empSex = empSex;
		this.empID = empID;
		this.empAddress = empAddress;
		this.empTel = empTel;
		this.empEmail = empEmail;
		this.empJob = empJob;
		this.empPic = empPic;
	}
	
	public Emp(int empNo, String empName, int deptNo, String empXl, String empSex, String empID, Date empTime,
			String empAddress, String empTel, String empEmail, String empJob) {
		super();
		this.empNo = empNo;
		this.empName = empName;
		this.deptNo = deptNo;
		this.empXl = empXl;
		this.empSex = empSex;
		this.empID = empID;
		this.empTime = empTime;
		this.empAddress = empAddress;
		this.empTel = empTel;
		this.empEmail = empEmail;
		this.empJob = empJob;
	}
	
	/**
	 * @return the empNo
	 */
	public int getEmpNo() {
		return empNo;
	}
	/**
	 * @param empNo the empNo to set
	 */
	public void setEmpNo(int empNo) {
		this.empNo = empNo;
	}
	/**
	 * @return the empName
	 */
	public String getEmpName() {
		return empName;
	}
	/**
	 * @param empName the empName to set
	 */
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	/**
	 * @return the deptNo
	 */
	public int getDeptNo() {
		return deptNo;
	}
	/**
	 * @param deptNo the deptNo to set
	 */
	public void setDeptNo(int deptNo) {
		this.deptNo = deptNo;
	}
	
	/**
	 * @return the deptName
	 */
	public String getDeptName() {
		return deptName;
	}
	/**
	 * @param deptName the deptName to set
	 */
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	/**
	 * @return the empXl
	 */
	public String getEmpXl() {
		return empXl;
	}
	/**
	 * @param empXl the empXl to set
	 */
	public void setEmpXl(String empXl) {
		this.empXl = empXl;
	}
	/**
	 * @return the empSex
	 */
	public String getEmpSex() {
		return empSex;
	}
	/**
	 * @param empSex the empSex to set
	 */
	public void setEmpSex(String empSex) {
		this.empSex = empSex;
	}
	/**
	 * @return the empID
	 */
	public String getEmpID() {
		return empID;
	}
	/**
	 * @param empID the empID to set
	 */
	public void setEmpID(String empID) {
		this.empID = empID;
	}
	/**
	 * @return the empTime
	 */
	public Date getEmpTime() {
		return empTime;
	}
	/**
	 * @param empTime the empTime to set
	 */
	public void setEmpTime(Date empTime) {
		this.empTime = empTime;
	}
	/**
	 * @return the empAddress
	 */
	public String getEmpAddress() {
		return empAddress;
	}
	/**
	 * @param empAddress the empAddress to set
	 */
	public void setEmpAddress(String empAddress) {
		this.empAddress = empAddress;
	}
	/**
	 * @return the empTel
	 */
	public String getEmpTel() {
		return empTel;
	}
	/**
	 * @param empTel the empTel to set
	 */
	public void setEmpTel(String empTel) {
		this.empTel = empTel;
	}
	/**
	 * @return the empEmail
	 */
	public String getEmpEmail() {
		return empEmail;
	}
	/**
	 * @param empEmail the empEmail to set
	 */
	public void setEmpEmail(String empEmail) {
		this.empEmail = empEmail;
	}
	/**
	 * @return the empJob
	 */
	public String getEmpJob() {
		return empJob;
	}
	/**
	 * @param empJob the empJob to set
	 */
	public void setEmpJob(String empJob) {
		this.empJob = empJob;
	}
	
	/**
	 * @return the empPic
	 */
	public String getEmpPic() {
		return empPic;
	}
	/**
	 * @param empPic the empPic to set
	 */
	public void setEmpPic(String empPic) {
		this.empPic = empPic;
	}
	@Override
	public String toString() {
		return "Emp [empNo=" + empNo + ", empName=" + empName + ", deptNo=" + deptNo + ", empXl=" + empXl + ", empSex="
				+ empSex + ", empID=" + empID + ", empTime=" + empTime + ", empAddress=" + empAddress + ", empTel="
				+ empTel + ", empEmail=" + empEmail + ", empJob=" + empJob + "]";
	}

}
